import {login} from "../../apis/auth";

const state = () => ({
  profile:{}
});

const getters = {
  profile: (state, getters, rootState) => {
    return state.profile;
  }
};


const actions = {
  getProfile({commit, state}, account, password) {
    return login()
  }
};

const mutations = {

};


export default {
  namespaced:true,
  state,
  getters,
  actions,
  mutations
}
